Efficient JavaTM Monitors
نویسنده
چکیده
In most real world systems, objects vastly outnumbers threads. This paper shows how this characteristic can be used to implement efficient JavaTMmonitors in a way that reduces the number of needed monitors to be equal to the number of threads, while fulfilling the JavaTMsynchronized semantics. Some additional benefits related to priority inheritance and hierarchical resource locking will also be briefly explored.
منابع مشابه
User Authentication and Authorization in the Java(tm) Platform
JavaTM security technology originally focused on creating a safe environment in which to run potentially untrusted code downloaded from the public network. With the latest release of the JavaTM Platform (the JavaTM 2 Software Development Kit, v 1.2), fine-grained access controls can be placed upon critical resources with regard to the identity of the running applets and applications, which are ...
متن کاملDVB-MHP/Java TVTM Data Transport Mechanisms
With the advent of digital television, more specifically interactive television, the emergence and adoption of the JavaTM DVB-MHP standards here in Australia provides developers with a range of new technologies and issues. An appreciation of broadcast technologies, in particular MPEG-2 and the Object Carousel are required to understand the facilities and constraints of this new JavaTM technolog...
متن کاملWhy JavaTM Was - Not - Standardized Twice
Proprietary de facto standards are seldom formalized. This paper examines a case, the JavaTM Technology of Sun Microsystems, where this was attempted. Sun approached the ISO/IEC JTC1 standards body and later the ECMA standards consortium to formalize Java. It withdrew both times. In this paper, I examine what motivated Sun's actions. A conceptual framework is applied that distinguishes two leve...
متن کاملImplementing a JavaTM Virtual Machine in the Java Programming Language
JavaInJava is a Java virtual machine written in the JavaTM programming language. The system was built at Sun Microsystems Laboratories in order to examine the feasibility of constructing high-quality virtual machines using the Java programming language and to experiment with new virtual machine implementation techniques. In this paper we describe the overall architecture of JavaInJava and summa...
متن کاملSpace and Time-Efficient Hashing of Garbage-Collected Objects
The hashCode() method found in the JavaTM programming language, and similar methods in other languages, map an arbitrary object to an integer value that is constant for the lifetime of the object. We review existing implementations of the hash operation, specifying the kinds of memory systems for which they work. Then we propose a new implementation of hashing for the hardest case: memory syste...
متن کامل